package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName city
 */
@TableName(value = "city")
@Data
public class City implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 城市名
     */
    private String name;

    /**
     * 拼音简写
     */
    private String spell;

    /**
     * 1为热门城市，0为非热门城市，默认为0
     */
    private Integer hotCity;

    /**
     * 城市图片
     */
    private String cityImg;

    /**
     * 逻辑删除
     */
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}